Cabal-syntax-3.13.0.0: A library for working with .cabal files
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Types.TestType

Synopsis

Documentation

data TestType Source #

The "test-type" field in the test suite stanza.

Constructors

TestTypeExe Version

"type: exitcode-stdio-x.y"

TestTypeLib Version

"type: detailed-x.y"

TestTypeUnknown String Version

Some unknown test type e.g. "type: foo"

Instances

Instances details
Parsec TestType Source # 
Instance details

Defined in Distribution.Types.TestType

Pretty TestType Source # 
Instance details

Defined in Distribution.Types.TestType

Structured TestType Source # 
Instance details

Defined in Distribution.Types.TestType

Data TestType Source # 
Instance details

Defined in Distribution.Types.TestType

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TestType -> c TestType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TestType

toConstr :: TestType -> Constr

dataTypeOf :: TestType -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TestType)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TestType)

gmapT :: (forall b. Data b => b -> b) -> TestType -> TestType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TestType -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TestType -> r

gmapQ :: (forall d. Data d => d -> u) -> TestType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> TestType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TestType -> m TestType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TestType -> m TestType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TestType -> m TestType

Generic TestType Source # 
Instance details

Defined in Distribution.Types.TestType

Associated Types

type Rep TestType :: Type -> Type

Methods

from :: TestType -> Rep TestType x

to :: Rep TestType x -> TestType

Read TestType Source # 
Instance details

Defined in Distribution.Types.TestType

Show TestType Source # 
Instance details

Defined in Distribution.Types.TestType

Binary TestType Source # 
Instance details

Defined in Distribution.Types.TestType

Methods

put :: TestType -> Put #

get :: Get TestType #

putList :: [TestType] -> Put #

NFData TestType Source # 
Instance details

Defined in Distribution.Types.TestType

Methods

rnf :: TestType -> () #

Eq TestType Source # 
Instance details

Defined in Distribution.Types.TestType

Ord TestType Source # 
Instance details

Defined in Distribution.Types.TestType

type Rep TestType Source # 
Instance details

Defined in Distribution.Types.TestType

type Rep TestType = D1 ('MetaData "TestType" "Distribution.Types.TestType" "Cabal-syntax-3.13.0.0-inplace" 'False) (C1 ('MetaCons "TestTypeExe" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Version)) :+: (C1 ('MetaCons "TestTypeLib" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Version)) :+: C1 ('MetaCons "TestTypeUnknown" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Version))))